package com.api.common.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 收藏表
 */
@Data
@TableName("user_interface_favorite")
public class UserInterfaceFavorite {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField("user_id")
    private Long userId;
    @TableField("interface_id")
    private Long interfaceInfoId;
    private Integer status;  // 1=有效, 0=取消
    private Date createTime;
    private Date updateTime;
}